//
//  UIView+MyFrameTool.h
//  xdjz
//
//  Created by 小豆_陈霄翔 on 15/7/7.
//  Copyright (c) 2015年 韩雪峰. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (MyFrameTool)
@property (assign, nonatomic) CGFloat x;    //左边界距离屏幕左边框
@property (assign, nonatomic) CGFloat y;    //上边界距离屏幕上边框
@property (readonly, nonatomic) CGFloat maxX;   //右边界距离屏幕左边框
@property (readonly, nonatomic) CGFloat maxY;   //下边界距离屏幕上边框
@property (assign, nonatomic) CGFloat width;    //frame的宽
@property (assign, nonatomic) CGFloat height;   //frame的高
@property (assign, nonatomic) CGSize size;      //frame的大小
@property (assign, nonatomic) CGPoint origin;   //frame的左上角坐标
@end
